package com.microlecture.service;

import com.microlecture.entity.Cookbook;

import java.util.List;
import java.util.Map;

public interface CookbookService {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Cookbook record);

    Cookbook selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Cookbook record);

    Map<String, Object> selectPageByCondition(int page, int rows, Integer userid, String searchContent, String orderBy);

}